#include "strategy.h"

int main(int argc, char **argv)
{
	weaponbehavior *ar = new arrow;
	weaponbehavior *sw = new sword;
	weaponbehavior *kn = new knife;
	weaponbehavior *ax = new axe;

	character *ki = new king;
	character *qu = new queen;
	character *kni = new knight;
	character *tr = new troll;

	ki->fight();
	qu->fight();
	kni->fight();
	tr->fight();

	ki->setweapon(ar);
	ki->fight();

	delete tr;
	delete kni;
	delete qu;
	delete ki;

	delete ax;
	delete kn;
	delete sw;
	delete ar;
}
